home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / gnu / emacs / emacs1857 / bin_d2.zoo / lisp / paths.el < prev    next >
Lisp/Scheme  |  1991-12-02  |  5KB  |  121 lines

  1. ;; Define pathnames for use by various Emacs commands.
  2. ;; Copyright (C) 1986, 1988 Free Software Foundation, Inc.
  3.  
  4. ;; This file is part of GNU Emacs.
  5.  
  6. ;; GNU Emacs is free software; you can redistribute it and/or modify
  7. ;; it under the terms of the GNU General Public License as published by
  8. ;; the Free Software Foundation; either version 1, or (at your option)
  9. ;; any later version.
  10.  
  11. ;; GNU Emacs is distributed in the hope that it will be useful,
  12. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. ;; GNU General Public License for more details.
  15.  
  16. ;; You should have received a copy of the GNU General Public License
  17. ;; along with GNU Emacs; see the file COPYING.  If not, write to
  18. ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  
  20.  
  21. ;; These are default settings for names of certain files and directories
  22. ;; that Emacs needs to refer to from time to time.
  23.  
  24. ;; If these settings are not right, override them with `setq'
  25. ;; in site-init.el.  Do not change this file.
  26.  
  27. (defvar Info-directory (expand-file-name "../info/" exec-directory))
  28.  
  29. (defvar news-path "/usr/spool/news/"
  30.   "The root directory below which all news files are stored.")
  31. (defvar news-inews-program
  32.   (cond ((file-exists-p "/usr/bin/inews") "/usr/bin/inews")
  33.     ((file-exists-p "/usr/local/inews") "/usr/local/inews")
  34.     ((file-exists-p "/usr/local/bin/inews") "/usr/local/bin/inews")
  35.     ((file-exists-p "/usr/lib/news/inews") "/usr/lib/news/inews")
  36.     (t "inews"))
  37.   "Program to post news.")
  38.  
  39. (defvar mh-progs
  40.   (cond ((file-exists-p "/usr/new/mh") "/usr/new/mh/")
  41.     ((file-exists-p "/usr/local/bin/mh") "/usr/local/bin/mh/")
  42.     (t "/usr/local/mh/"))
  43.   "Directory containing MH commands")
  44.  
  45. (defvar mh-lib
  46.   (cond ((file-exists-p "/usr/new/lib/mh") "/usr/new/lib/mh/")
  47.     ((file-exists-p "/usr/local/lib/mh") "/usr/local/lib/mh/")
  48.     (t "/usr/local/bin/mh/"))
  49.   "Directory of MH library")
  50.  
  51. (defconst rmail-file-name "~/RMAIL"
  52.   "Name of user's primary mail file.")
  53.  
  54. (defconst rmail-spool-directory
  55.   (if (memq system-type '(hpux usg-unix-v unisoft-unix rtu
  56.                    silicon-graphics-unix))
  57.       "/usr/mail/"
  58.     "/usr/spool/mail/")
  59.   "Name of directory used by system mailer for delivering new mail.
  60. Its name should end with a slash.")
  61.  
  62. (defconst sendmail-program
  63.   (if (file-exists-p "/usr/lib/sendmail")
  64.       "/usr/lib/sendmail"
  65.     "fakemail")            ;In ../etc, to interface to /bin/mail.
  66.   "Program used to send messages.")
  67.  
  68. (defconst term-file-prefix (if (eq system-type 'vax-vms) "[.term]" "term/")
  69.   "If non-nil, Emacs startup does (load (concat term-file-prefix (getenv \"TERM\")))
  70. You may set this variable to nil in your `.emacs' file if you do not wish
  71. the terminal-initialization file to be loaded.")
  72.  
  73. (defconst manual-program (if (eq system-type 'berkeley-unix)
  74.                  "/usr/ucb/man" "/usr/bin/man")
  75.   "Program to run to print man pages.")
  76.  
  77. ;; Note that /usr/man/cat is not really right for this on sysV; nothing is,
  78. ;; judging by the list of directories below.  You can't get the dir
  79. ;; for a section by appending the section number to any one prefix.
  80. ;; But it turns out that a string that's wrong does no harm here.
  81. (defconst manual-formatted-dir-prefix
  82.   (if (file-exists-p "/usr/man/cat.C")  ;; Check for Xenix.
  83.       "/usr/man/cat." "/usr/man/cat")
  84.   "Prefix for directories containing formatted manual pages.
  85. Append a section-number or section-name to get a directory name.")
  86.  
  87. (defconst manual-formatted-dirlist
  88.   (cond ((eq system-type 'hpux)
  89.      '("/usr/man/cat1" "/usr/man/cat2" "/usr/man/cat3"
  90.        "/usr/man/cat4" "/usr/man/cat5" "/usr/man/cat6"
  91.        "/usr/man/cat7" "/usr/man/cat1m" "/usr/man/cat8"
  92.        "/usr/local/man/cat1" "/usr/local/man/cat2" "/usr/local/man/cat3"
  93.        "/usr/local/man/cat4" "/usr/local/man/cat5" "/usr/local/man/cat6"
  94.        "/usr/local/man/cat7" "/usr/local/man/cat1m" "/usr/local/man/cat8"
  95.        "/usr/contrib/man/cat1" "/usr/contrib/man/cat2"
  96.        "/usr/contrib/man/cat3" "/usr/contrib/man/cat4"
  97.        "/usr/contrib/man/cat5" "/usr/contrib/man/cat6"
  98.        "/usr/contrib/man/cat7" "/usr/contrib/man/cat1m"
  99.        "/usr/contrib/man/cat8"))
  100.      ((file-exists-p "/usr/man/cat.C")  ; Xenix
  101.       '("/usr/man/cat.C" "/usr/man/cat.CP" "/usr/man/cat.CT"
  102.         "/usr/man/cat.DOS/" "/usr/man/cat.F" "/usr/man/cat.HW"
  103.         "/usr/man/cat.M/" "/usr/man/cat.S" "/usr/man/cat.LOCAL"))
  104.      ((file-exists-p "/usr/man/cat1")
  105.       '("/usr/man/cat1" "/usr/man/cat2" "/usr/man/cat3"
  106.         "/usr/man/cat4" "/usr/man/cat5" "/usr/man/cat6"
  107.         "/usr/man/cat7" "/usr/man/cat8" "/usr/man/catl" "/usr/man/catn"))
  108.      (t
  109.        '("/usr/catman/u_man/man1" "/usr/catman/u_man/man6"
  110.          "/usr/catman/p_man/man2" "/usr/catman/p_man/man3"
  111.          "/usr/catman/p_man/man4" "/usr/catman/p_man/man5"
  112.          "/usr/catman/a_man/man1" "/usr/catman/a_man/man7"
  113.          "/usr/catman/a_man/man8" "/usr/catman/local")))
  114.   "List of directories containing formatted manual pages.")
  115.  
  116. (defconst abbrev-file-name 
  117.   (if (eq system-type 'vax-vms)
  118.       "~/abbrev.def"
  119.     "~/.abbrev_defs")
  120.   "*Default name of file to read abbrevs from.")
  121.